package com.example.dessert.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.dessert.entity.Cart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CartMapper extends BaseMapper<Cart> {

    List<Cart> queryCartList(@Param("userId") Long userId);

    List<Cart> queryCartListByIds(@Param("userId") Long userId, @Param("ids") String ids);

}
